#include "StdAfx.h"
#include "LeftTextUI.h"

CLeftTextUI::CLeftTextUI(void)
	: m_pDCPower(NULL)
	, m_pACPower(NULL)
	, m_pRYield(NULL)
	, m_pZYield(NULL)
	, m_pIrra(NULL)
	, m_pTemp(NULL)
	, m_pInvCount(NULL)
	, m_pInvNormal(NULL)
	, m_pInvLower(NULL)
	, m_pInvStop(NULL)
	, m_pInvDisconn(NULL)
	, m_pNormal(NULL)
	, m_pLower(NULL)
	, m_pStop(NULL)
	, m_pDisconn(NULL)
	, m_pPlace(NULL)
	, m_pRoad(NULL)
	, m_pVolume(NULL)
	, m_pDip(NULL)
	, m_pDirection(NULL)
	, m_pCompany(NULL)
	, m_pFormat(NULL)
	, m_pDate(NULL)
{
}

void CLeftTextUI::InitChildControl()
{
	m_pDCPower = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_dc_power")));
	m_pACPower = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_ac_power")));
	m_pRYield = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_day_yield")));
	m_pZYield = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_tt_yield")));
	m_pIrra = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_irra")));
	m_pTemp = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_temp")));
	m_pInvCount = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_inv_count")));

	m_pInvNormal = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_inv_normal_count")));
	m_pInvLower = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_inv_lower_count")));
	m_pInvStop = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_inv_stop_count")));
	m_pInvDisconn = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_text_inv_disconn_count")));

	m_pNormal = static_cast<CSProgressUI*>(m_pManager->FindControl(_T("left_text_inv_normal_color")));
	m_pLower = static_cast<CSProgressUI*>(m_pManager->FindControl(_T("left_text_inv_lower_color")));
	m_pStop = static_cast<CSProgressUI*>(m_pManager->FindControl(_T("left_text_inv_stop_color")));
	m_pDisconn = static_cast<CSProgressUI*>(m_pManager->FindControl(_T("left_text_inv_disconn_color")));

	m_pPlace = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_Place")));
	m_pRoad = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_road")));
	m_pVolume = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_volume")));
	m_pDip = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_dip")));
	m_pDirection = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_direction")));
	m_pCompany = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_company")));
	m_pFormat = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_format")));
	m_pDate = static_cast<CLabelUI*>(m_pManager->FindControl(_T("left_date")));

}
